package org.kgc.alanhealth.service;

import org.kgc.alanhealth.entity.Sessiontoken;

public interface SessionTokenService {
    String insertSessionToken(String account);

    boolean isTokenValid(String token);

    boolean hasAccess(String token);

    boolean deleteByPrimaryKey(String id);
}